<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Page de test pour table liste</title>

		<link rel="stylesheet" type="text/css" href="../mise_en_page/css/demo_page.css" />
		<link rel="stylesheet" type="text/css" href="../mise_en_page/css/demo_table_jui.css"/>
		<link rel="stylesheet" type="text/css" href="../mise_en_page/css/jquery-ui.css"/>	
		<link rel="stylesheet" type="text/css" href="../lib/media/css/TableTools_JUI.css" />
	
		<script type="text/javascript" language="javascript" src="../lib/jquery.js"></script>
		<script type="text/javascript" language="javascript" src="../lib/jquery.dataTables.js"></script>
		<script type="text/javascript" language="javascript" src="../lib/utilitaires.js"></script>
		<script type="text/javascript" charset="utf-8" src="../lib/media/js/ZeroClipboard.js"></script>
		<script type="text/javascript" charset="utf-8" src="../lib/media/js/TableTools.js"></script>
</head>
<body>
	<div id="choix_col">
	</div>
	<div id="div_table" >
		
	</div>
	<input type="button" value="Delete" id="delete" onclick="deleteRow('#table_recherche')"/>
	<label for="select_all">Tout (dé)sélectionner</label>
	<input type="checkbox" id="select_all" onchange="select_all(this.checked,'#table_recherche')" />
	<script type="text/javascript" charset="utf-8">
		var asInitVals = new Array();
        $(document).ready(function(){
	
		$.ajax({
				url: 'candidat.php',
				context: document.body,
				statusCode: {
   			 404: function() {
     			 alert('page not found');
    		}
  		},
				success: function(code){
							$("#div_table").html(code);
							init_tab("#table_recherche","table de test");
							var oTable = $("#table_recherche").dataTable();
						}
			});
			
			
			$.ajax({
				url:"recup_col.php",
				data:{table:" test_anim"},
				success:function(code){
					$("#choix_col").html(code)
				}
				
			})
			
	});
			
	</script>
	</body>
</html>